package com.diy.sigmund.diycommon.designpatterns.factorymethod.pizza2;


/**
 * @author ylm-sigmund
 * @since 2022/1/17 16:09
 */
public class PizzaTest {

    public static void main(String[] args) {
        PizzaStore nyPizzaStore = new NYPizzaStore();
        Pizza cheese = nyPizzaStore.orderPizza("cheese");
        System.out.println("pizza name:" + cheese.name);
    }

}
